package com.atguigu.practice;
import java.util.Scanner;
public class GoToTheBowl {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        while(scanner.hasNext()){
            String s1=scanner.next();  //猫的身长    n
            String s2=scanner.next();  //碗的半径    r
            if(s1.length()==s2.length()){
                int a=s1.charAt(0)-'0';
                int b=s2.charAt(0)-'0';
                if(a>b){
                    if(a<6.28*b){
                        System.out.println("Yes");
                    }else{
                        System.out.println("No");
                    }
                }else{
                    System.out.println("No");
                }
            }else{
                //找到长串和短串
                String maxString;
                String minString;
                if(s1.length()>s2.length()){
                    maxString=s1;
                    minString=s2;
                }else{
                    maxString=s2;
                    minString=s1;
                }
                int len=maxString.length()-minString.length();
                StringBuilder sb1=new StringBuilder();
                for(int i=0;i<=len;i++){
                    sb1.append(maxString.charAt(i));
                }
                int a=Integer.parseInt(sb1.toString());
                int b=minString.charAt(0)-'0';
                if(a<6.28*b){
                    System.out.println("Yes");
                }else{
                    System.out.println("No");
                }
            }
        }
    }
}
